<h4><a href="javascript:<{ajax_update update_id='content' url='actions/index_action.php' method='get'  params=''}>"><{$lang_pollslist}></a></h4>
<br />
<{ajax_formupdate url="actions/index_action.php" method="post"  update_id="content"  id="xoopspollviewform" }>
  <table width="100%" class="outer" cellspacing="1">
    <tr>
      <th align="center" colspan="2">
	<input type="hidden" name="poll_id" value="<{$poll.pollId}>" /><{$poll.question}></th>
    </tr>

    <{foreach item=option from=$poll.options}>
	<tr>
      <td class="even" align="left" width="2%"><{$option.input}></td>
      <td class="odd" align="left" width="98%"><{$option.text}></td>
    </tr>
    <{/foreach}>
	<tr>
	<{assign var="pollpollid" value=$poll.pollId}>
      <td align="center" colspan="2" class="foot"><input type="submit" value="<{$lang_vote}>" />&nbsp;<input type="button" value="<{$lang_results}>" onclick="javascript:<{ajax_update update_id='content' url='actions/pollresults_action.php' method='get'  params="poll_id=$pollpollid"}>" /></td>
    </tr>
  </table>
<{/ajax_formupdate}>